package com.yt.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Applyresource {
    private Integer arid;

    private Integer aruid;

    private Integer arrid;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date arstarttime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date arendtime;

    private Integer flag;



    public Applyresource(Integer arid, Integer aruid, Integer arrid, Date arstarttime, Date arendtime, Integer flag) {
        this.arid = arid;
        this.aruid = aruid;
        this.arrid = arrid;
        this.arstarttime = arstarttime;
        this.arendtime = arendtime;
        this.flag = flag;
    }
    public Applyresource() {
        super();
    }

    public Integer getArid() {
        return arid;
    }

    public void setArid(Integer arid) {
        this.arid = arid;
    }

    public Integer getAruid() {
        return aruid;
    }

    public void setAruid(Integer aruid) {
        this.aruid = aruid;
    }

    public Integer getArrid() {
        return arrid;
    }

    public void setArrid(Integer arrid) {
        this.arrid = arrid;
    }

    public Date getArstarttime() {
        return arstarttime;
    }

    public void setArstarttime(Date arstarttime) {
        this.arstarttime = arstarttime;
    }

    public Date getArendtime() {
        return arendtime;
    }

    public void setArendtime(Date arendtime) {
        this.arendtime = arendtime;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }


    @Override
    public String toString() {
        return "Applyresource{" +
                "arid=" + arid +
                ", aruid=" + aruid +
                ", arrid=" + arrid +
                ", arstarttime=" + arstarttime +
                ", arendtime=" + arendtime +
                ", flag=" + flag +
                '}';
    }
}